package com.coin900.coin.rabbitmq.json;

/**
 *
 * { isSuccess: true/false, details: {confirmations: 23, from:, to, value:} }
 *
 * @author shui
 * @create 2018-02-01
 **/
public class Details {

    /**
     * 确认区块数量
     */
    private Integer confirmations;

    /**
     * 来的地址
     */
    private String from;

    /**
     * 去的地址
     */
    private String to;

    /**
     * 实际数量
     */
    private String value;

    public Integer getConfirmations() {
        return confirmations;
    }

    public void setConfirmations(Integer confirmations) {
        this.confirmations = confirmations;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public String toString() {
        return "Detail{" +
                "confirmations='" + confirmations + '\'' +
                ", from='" + from + '\'' +
                ", to='" + to + '\'' +
                ", value='" + value + '\'' +
                '}';
    }
}
